package com.zian.service;

import com.zian.domain.dto.PageDTO;
import com.zian.domain.dto.ShoppingDTO;
import com.zian.domain.po.SysShoppingCartItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zian.domain.query.PageQuery;
import com.zian.domain.vo.ShoppingQueryVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2024-09-08
 */
public interface ISysShoppingCartItemService extends IService<SysShoppingCartItem> {

    void addShoppingCartItem(Long goodsId);

    void deleteShoppingCartItem(Long id);

    void updateGoodsCount(ShoppingDTO dto);

    List<ShoppingQueryVO> getShoppingCartItemList();

    Integer getShoppingCartItemCount();


    List<ShoppingQueryVO> getSelectedItems(List<Long> ids);
}
